package com.citcc.business.service;

import com.citcc.business.bean.CdzOrderRefundEntity;
import com.citcc.business.bean.CdzOrderRefundEntityExample;
import com.citcc.business.mapper.CdzOrderRefundEntityMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class CdzOrderRefundService {

    private final CdzOrderRefundEntityMapper cdzOrderRefundEntityMapper;

    @Autowired
    public CdzOrderRefundService(CdzOrderRefundEntityMapper cdzOrderRefundEntityMapper){
        this.cdzOrderRefundEntityMapper=cdzOrderRefundEntityMapper;
    }

   
    public int add(CdzOrderRefundEntity record){
        return cdzOrderRefundEntityMapper.insertSelective(record);
    }
    
    public List<CdzOrderRefundEntity> select(CdzOrderRefundEntityExample record){
        return cdzOrderRefundEntityMapper.selectByExample(record);
    }

    
}
